UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The /etc/hosts file must be group-owned by root, bin, or sys.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22324 GEN001367 SV-39896r1_rule ECLP-1 Medium
Description
The /etc/hosts file (or equivalent) configures local host name to IP address mappings that typically take precedence over DNS resolution. If this file is maliciously modified, it could cause the failure or compromise of security functions requiring name resolution, which may include time synchronization, centralized authentication, and remote system logging.
STIG Date
SOLARIS 9 SPARC SECURITY TECHNICAL IMPLEMENTATION GUIDE 2015-03-25

Details

Check Text ( None )
None
Fix Text (F-34053r1_fix)
Change the group owner of the /etc/hosts file to root, sys, or bin.

Procedure:
# chgrp root /etc/hosts